package com.nfIt.dao.Impl;


import com.nfIt.dao.BookDao;

import java.io.PipedReader;
import java.util.*;

/**
 * ClossName:BookDaoImpl
 * Pakage:com.nfIt.dao.Impl
 * Description
 *
 * @Author L
 * @Create 2024/4/22 19:17
 * @Version 2023.1.3
 */
public class BookDaoImpl implements BookDao {

    private int[] arr;
    private List<String> list;
    private Map<String,String> map;
    private Set<String> set;
    private Properties properties;

    public void setArr(int[] arr) {
        this.arr = arr;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public void setSet(Set<String> set) {
        this.set = set;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    @Override
    public void say() {
        System.out.println("Bookdao 实现");
        System.out.println("数组："+ Arrays.toString(arr));
        System.out.println("list集合："+list);
        System.out.println("map集合："+map);
        System.out.println("set集合："+set);
        System.out.println("properties集合："+properties);
    }
}
